package com.wzdigit.wms.basic.domain.dtos.inventory;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName SnLocationDto
 * @Description 条码库存库位信息Dto
 * @Author LHR-PC
 * @Date 2021/3/22 10:17
 * @Version
 **/
@Data
public class SnLocationDto {

    @ApiModelProperty(value = "货品条码")
    private String goodsSn;

    @ApiModelProperty(value = "包装条码")
    private String pkgNo;

    @ApiModelProperty(value = "物料编码")
    private String skuCode;

    @ApiModelProperty(value = "物料ID")
    private Integer skuId;

    @ApiModelProperty(value = "源库位")
    private Integer sourceLocId; //源库位

    @ApiModelProperty(value = "父级包装ID")
    private String fatherPkgId; //父级包装ID

    @ApiModelProperty(value = "父级包装条码")
    private String fatherPkgSn; //父级包装条码

    @ApiModelProperty(value = "是否叶子节点")
    private Integer isLeaf; //是否叶子节点

    @ApiModelProperty(value = "数量")
    private BigDecimal qty; //数量

    @ApiModelProperty(value = "目标库位")
    private Integer targetLocId; //目标库位

    @ApiModelProperty(value = "仓库ID")
    private Integer whsId; //仓库ID

    @ApiModelProperty(value = "条码信息列表")
    private List<SnListInfoDto> snList; //条码信息列表

    @ApiModelProperty(value = "前端判断标识：条码等级,第二次扫描后要拿这个等级和上一次扫描对比，如果等级不相同，则不允许加入列表")
    private String snLevel;

    @ApiModelProperty(value = "源库位名称")
    private String sourceLocCode;

    @ApiModelProperty(value = "目标库位名称")
    private String targetLocCode;

    @ApiModelProperty(value = "目标上级包装")
    private String sourceFatherPkgSn;

    @ApiModelProperty(value = "目标上级条码")
    private String targetFatherPkgSn;
}
